﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Concert.Musique;
using Concert.LastFm;

namespace Concert
{
    static class Program
    {
        /// <summary>
        /// Point d'entrée principal de l'application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FrmStart());
            List<Event> lesEventsDeZaz = new List<Event>();
            lesEventsDeZaz = LastFmApi.getEventsByArtist("rihanna");

            //int i = 0;
            //foreach(Event unEvent in lesEventsDeZaz)
            //{
            //    Console.WriteLine(i + 1 + " "  + unEvent.titre + "\n");
            //    i++;
            //}

        }
    }
}
